package com.lagou.lagouserviceuser.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lagou.lagouserviceuser.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Authther: mrwu
 * @date:2021/4/14-04
 * @Description:com.lagou.lagouserviceuser.mapper
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where email=#{email}")
    User getUserByEmail(String email);
}
